﻿using BCCommon.Enums;
using BCCommon.Extensions;

namespace BCDto.TMS.HealthReport
{
    /// <summary>
    /// 健康上报统计模型
    /// </summary>
    public class HealthReportAnalysisDto
    {
        /// <summary>
        /// 司机
        /// </summary>
        public RoleType DriverRole { get; set; }

        /// <summary>
        /// 司机
        /// </summary>
        public string DriverRoleStr => DriverRole.GetDescriptionString();

        /// <summary>
        /// 司机发烧人数
        /// </summary>
        public int DriverFeverCount { get; set; }

        /// <summary>
        /// 司机咳嗽人数
        /// </summary>
        public int DriverCoughsCount { get; set; }

        /// <summary>
        /// 司机不舒服人数
        /// </summary>
        public int DriverDiscomfortCount { get; set; }
      
        /// <summary>
        /// 员工
        /// </summary>
        public RoleType AdminRole { get; set; }

        /// <summary>
        /// 员工
        /// </summary>
        public string AdminRoleStr => "员工";

        /// <summary>
        /// 员工发烧人数
        /// </summary>
        public int AdminFeverCount { get; set; }

        /// <summary>
        /// 员工咳嗽人数
        /// </summary>
        public int AdminCoughsCount { get; set; }

        /// <summary>
        /// 员工不舒服人数
        /// </summary>
        public int AdminDiscomfortCount { get; set; }

        /// <summary>
        /// 发烧人数
        /// </summary>
        public int FeverCount { get; set; }

        /// <summary>
        /// 咳嗽人数
        /// </summary>
        public int CoughsCount { get; set; }

        /// <summary>
        /// 不舒服人数
        /// </summary>
        public int DiscomfortCount { get; set; }

        /// <summary>
        /// 上报日期
        /// </summary>
        public string ReportDate { get; set; }
    }
}
